package com.freemalll.merchant.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.freemalll.merchant.domain.dto.MerMerchantCapitalOrderDto;
import com.freemalll.merchant.domain.entity.MerMerchantCapitalOrder;
import com.freemalll.merchant.mapper.MerMerchantCapitalOrderMapper;
import com.freemalll.merchant.service.MerMerchantCapitalOrderService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 服务层实现。
 *
 * @author songshixiong
 * @since 2025-05-26
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class MerMerchantCapitalOrderServiceImpl extends ServiceImpl<MerMerchantCapitalOrderMapper, MerMerchantCapitalOrder> implements MerMerchantCapitalOrderService {

    @Override
    public List<MerMerchantCapitalOrderDto> listByMerId(String merId) {
        return baseMapper.listByMerId(merId);
    }
}
